package com.hmall.api.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

import java.util.Collection;

@FeignClient("order-service")
public interface IOrderClient {

    @PutMapping("/orders/")
    void markOrderPaySuccess(@PathVariable("orderId") Long orderId);

}